package com.bwie.bean;

public class Article {
    private Integer aid;
    private String title;
    private String pic;
    private String content;
    private String createtime;
    private String tnames;

    @Override
    public String toString() {
        return "Article{" +
                "aid=" + aid +
                ", title='" + title + '\'' +
                ", pic='" + pic + '\'' +
                ", content='" + content + '\'' +
                ", createtime='" + createtime + '\'' +
                ", tnames='" + tnames + '\'' +
                '}';
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getTnames() {
        return tnames;
    }

    public void setTnames(String tnames) {
        this.tnames = tnames;
    }

    public Article() {

    }

    public Article(Integer aid, String title, String pic, String content, String createtime, String tnames) {

        this.aid = aid;
        this.title = title;
        this.pic = pic;
        this.content = content;
        this.createtime = createtime;
        this.tnames = tnames;
    }
}
